array object

This method will remove the final value in the array.

void remove_last()

Parameters:
None.

Return value:
None.

Remarks:
On the outside, this method simply does the equivalent of array.resize(array.length()-1).

Example:
string[] names(6);

void main()
{
names[0]="Damien";
names[1]="Philip";
names[2]="Percival";
names[3]="Byron";
names[4]="Humphrey";
names[5]="Edmund";
names.remove_last();
for(uint counter=0; counter<names.length(); counter++)
{
alert("Names", "Element "+counter+" contains the name "+names[counter]+".");
}
}